package io.renren.sf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.sf.entity.CityEntity;
import io.renren.sf.vo.CityVo;
import io.renren.sf.vo.DistrictVo;
import io.renren.sf.vo.ProvinceVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author cyl_txw
 * @email cyl_txw@gmail.com
 * @date 2021-04-22 21:28:47
 */
public interface CityService extends IService<CityEntity> {

    List<Map<String, Object>> getUserNum();

    List<Map<String, Object>> getUserLoginNum();

    List<Map<String, Object>> getUserLoginTime();

    List<Map<String, Object>> getUserNumByProvinceId(Long cid);

    List<Map<String, Object>> getUserNumByCityId(Long cid);

    List<Map<String, Object>> getUserNumByRegionId(Long cid);

    List<Map<String, Object>> getUserLoginNumByProvinceId(Long cid);

    List<Map<String, Object>> getUserLoginNumByCityId(Long cid);

    List<Map<String, Object>> getUserLoginNumByRegionId(Long cid);

    List<Map<String, Object>> getUserLoginTimeByProvinceId(Long cid);

    List<Map<String, Object>> getUserLoginTimeByCityId(Long cid);

    List<Map<String, Object>> getUserLoginTimeByRegionId(Long cid);

    List<ProvinceVo> getSsq(Integer cid);

    List<CityVo> getSq(Integer cid);

    List<DistrictVo> getQ(Integer cid);

    List<Integer> getCids(Integer cid);

    List<ProvinceVo> getSsqAll();
}

